home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / demos / mag6demo.exe / M600D2.ZIP / POW.RJE < prev    next >
Text File  |  1992-06-09  |  3KB  |  58 lines

  1. @c10 @a14 @c0 @c18
  2.                          ╔════════════════════════════╗
  3.                          ║                            ║
  4.                          ║ Magnum RJE POWER Processor ║
  5.                          ║                            ║
  6.                          ╚════════════════════════════╝
  7. @a11
  8. This is a 2-step process (one step for you). In the first step, you will
  9. upload the .POW response file which your offline POWER.EXE program created.
  10. The file you will upload will be ID@u1.POW with the upload protocol of your
  11. choice. @a12DO NOT ARC or ZIP this upload!!@a11 Magnum is expecting you to
  12. upload ID@u1.POW in it's UNALTERED form as output by the POWER.EXE program.
  13.  
  14. The 2nd step (processing of the .POW file) is an RJE (Remote Job Entry) task
  15. which is automatically started by Magnum after you successfully complete the
  16. upload of the ID@u1.POW file. This RJE task processes your .POW file and adds
  17. your messages to the message database. @a79AFTER SUCCESSFUL UPLOAD, PLEASE DELETE
  18. YOUR ID@u1.POW FILE ON YOUR MACHINE SO THE MESSAGES WILL NOT BE DUPLICATED
  19. NEXT TIME YOU UPLOAD YOUR POWER MESSAGES!@a11
  20.  
  21. Are you ready to upload ID@u1.POW (Y/N) => @z0('yn');
  22. @b1(z0="y"); @c16 @p1
  23.     Single: X=Xmodem, C=Xmodem-CRC, 1=Xmodem-1K
  24.      Batch: Y=Ymodem, G=Ymodem-G, Z=Zmodem         Q=QUIT
  25.  
  26. Enter Protocol (X,C,1,Y,G,Z,Q) => @z10('xc1ygzq'); @b2(z10!="Q"); @c16 @p2
  27.  
  28. @a11 Begin your upload of @a14 ID@u1.POW @a11 NOW!
  29. @c12
  30. @z0="getpow.exe";                          PROGRAM NAME (External Directory)
  31. @z1=u54; @z1=(z1+" ");                     parm1: filespec to mbbsinit.x
  32. @z2=u1;  @z1=(z1+z2); @z1=(z1+" ");        parm2: User ID number
  33. @z2=o12; @z1=(z1+z2); @z1=(z1+" ");        parm3: Node# user is on
  34. @z2=o19; @z1=(z1+z2); @z1=(z1+" ");        parm4: Type of Logon (R,L,Px)
  35. @z2=z10; @z1=(z1+z2); @z1=(z1+" ");        parm5: Protocol
  36. @z2=v0;  @z1=(z1+z2); @n0=7; @n0=(n0|128); parm6: Com Handle. Mark Inheritable.
  37. @e0                                        EXECUTE GETPOW.EXE Pgm (Ext Dir)
  38. @b3(n1=0); @c16 @p3                        Branch around 'exit' if successful
  39. @z0="cmd.exe"; @n0=0;                      Prepare CHKANSI.EXE against upload
  40. @z1="/c chkansi.exe ";  @z2=v88;
  41. @z1=(z1+z2); @z1=(z1+"\ID");               Prepare Parms for CHKANSI.EXE
  42. @z2=u1; @z1=(z1+z2);
  43. @z1=(z1+".POW /r >nul");                   Suppress output
  44. @e0                                        Execute CHKANSI.EXE (Ext Dir)
  45. @b33(n1!=4);                               Check return code (4=BAD)
  46. @c13 Harmful ANSI Escape Sequence Detected!
  47.  Processing Aborted! @c16
  48. @p33
  49. @n0=99;                                    Prepare RJE. Default Priority/Class
  50. @n1=1;                                     Notify user when RJE job completes
  51. @z0="rjepow.exe";                          RJE PROGRAM NAME (RJE Directory)
  52. @z1=u54; @z1=(z1+" ");                     parm1: filespec to mbbsinit.x
  53. @z2=u1;  @z1=(z1+z2);                      parm2: User ID number;
  54. @e1                                        EXECUTE RJEPOW.EXE Pgm (RJE Dir)
  55. @c13
  56. @b4(n1>0); RJE Job Submission Failed - Try Again Later! @z0=""; @z1=""; @c16
  57. @p4 RJE Job @z1; Successfully Submitted! @z0=""; @z1=""; @c16
  58.